home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / programming / c / c_lib / readme.maxon < prev    next >
Text File  |  1997-12-06  |  2KB  |  56 lines

  1. MaxonC (3.0) note:
  2. ------------------
  3. [Andreas R. Kleinert <Andreas_Kleinert@t-online.de]
  4.  
  5.  - Stephan Rupprecht <Rupprecht_Verwertung@t-online.de>
  6.    reported, that compiling with the "small code/data" model
  7.    did cause an invalid RomTag (the data inside the RomTag
  8.    can't be fully resolved by the linker, since MaxonC
  9.    uses some run-time code for initialization).
  10.    Unless this bug is fixed, i.e. your version does not
  11.    have this bug, you only should compile libraries using
  12.    the "large code/data" model when compiling with MaxonC.
  13.  
  14.  
  15. [Helmut Hummel <hhummel@t-online.de>]
  16.  
  17.  
  18. I have converted this source to the Maxon-C style with the
  19. compiler version 3.0 Light (including HotHelp).
  20. Some settings of the compiler stores paths so I did this
  21. on a disk named "DF0" to solve all resulting problems.
  22. To force the compiler to ignore all SAS/Storm related
  23. stuff, in all files **must** included the "maxon.h".
  24.  
  25. Until this version some settings are lost (global), so
  26. set this options in your global settings:
  27.  
  28. Compiler:
  29. C++ mode - off
  30. breaks   - off
  31. optimize - on
  32.  
  33. Linker:
  34. without startup code
  35. small (A4 relative)
  36. Link libs - amiga
  37.  
  38. The right order in the makefile is important !!
  39. (not at this example, but if you later add other functions)
  40. This should be (in the object lister):
  41. StartUp.o
  42. LibInit.o
  43. SampleFuncs.o
  44.  
  45. The size of the "example.library" will big a greater than
  46. from SAS/Storm (1212 bytes). Do not wonder about.
  47.  
  48. The source to TestExampleLib I would not convert, you should
  49. "can" do this, if you want to write a library or use the
  50. compiled program for testing.
  51.  
  52. If you must convert a SAS-C pragma file use the wonderful
  53. new "fd2pragma" version 2.20 archive on AmiNet dev/misc.
  54.  
  55. Happy programming.
  56.